package analysis;

import model.ApiConfigDataModel;
import model.ApiDataModel;
import model.TestResultAnalysisModel;

/**
 * Created by yangxianming on 2015-06-17.
 */
public class ImmediateSet implements AnalysisImpl {
    String expect = null;

    ImmediateSet(String expect){
        this.expect = expect;
    }

    @Override
    public void parseExpect(TestResultAnalysisModel testResultAnalysisModel, ApiConfigDataModel acdm) {
        testResultAnalysisModel.result = Boolean.valueOf(expect);
    }
}
